package org.jweb.demo.service;

import org.jweb.core.bean.PageMode;
import org.jweb.core.service.CommonService;
import org.jweb.demo.entity.DemoGoodsTypeDicEntity;
import org.jweb.demo.trans.form.DemoGoodsTypeDicSaveForm;
import org.jweb.demo.trans.form.DemoGoodsTypeDicSearchForm;
import org.jweb.demo.trans.vo.DemoGoodsTypeDicVO;

public interface DemoGoodsTypeServiceI extends CommonService{

	public PageMode<DemoGoodsTypeDicVO> list(DemoGoodsTypeDicSearchForm searchForm,int pageNo,int pageSize);
	
	public DemoGoodsTypeDicVO get(String goodsTypeId);
	
	public void add(DemoGoodsTypeDicSaveForm saveForm);
	
	public void update(DemoGoodsTypeDicSaveForm saveForm);
	
	public void add(DemoGoodsTypeDicEntity entity);
	
	public void update(DemoGoodsTypeDicEntity entity);
}
